export interface TaskInfoState {
  taskId: number;
  titleContent: TitleList[];
  currentType: number | undefined;
  openTaskData: OpenTaskData;
  contractTaskData: ContractTaskData;
  imageLayout: string;
}

declare interface TitleList {
  label: string;
  value: string | number | undefined;
}

declare interface ContractTaskData {
  taskName: string;
  beginDate: string;
  endDate: string;
  taskMethodType: string;
  remark?: string | null;
  tableData?: TableDataItem[];
}
declare interface TableDataItem {
  companyName: string;
  userName: string;
}

declare interface OpenTaskData extends ContractTaskData {
  totalUserNum: number;
}